package com.rshang.rsdp.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 角色信息表
 * </p>
 *
 * @author zhangjun
 * @since 2017-07-21
 */
@TableName("TB_ROLE")
public class TbRole extends Model<TbRole> {

    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
    @TableId("ROLE_ID")
	private String roleId;
    /**
     * 角色名称
     */
	@TableField("ROLE_NAME")
	private String roleName;
    /**
     * 录入人
     */
	@TableField("LRR")
	private String lrr;
    /**
     * 录入时间
     */
	@TableField("LRSJ")
	private Date lrsj;
    /**
     * 录入人
     */
	@TableField("XGR")
	private String xgr;
    /**
     * 修改日期
     */
	@TableField("XGSJ")
	private Date xgsj;
	@TableField("YX_BZ")
	private String yxBz;


	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getLrr() {
		return lrr;
	}

	public void setLrr(String lrr) {
		this.lrr = lrr;
	}

	public Date getLrsj() {
		return lrsj;
	}

	public void setLrsj(Date lrsj) {
		this.lrsj = lrsj;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public Date getXgsj() {
		return xgsj;
	}

	public void setXgsj(Date xgsj) {
		this.xgsj = xgsj;
	}

	public String getYxBz() {
		return yxBz;
	}

	public void setYxBz(String yxBz) {
		this.yxBz = yxBz;
	}

	@Override
	protected Serializable pkVal() {
		return this.roleId;
	}

	@Override
	public String toString() {
		return "TbRole{" +
			"roleId=" + roleId +
			", roleName=" + roleName +
			", lrr=" + lrr +
			", lrsj=" + lrsj +
			", xgr=" + xgr +
			", xgsj=" + xgsj +
			", yxBz=" + yxBz +
			"}";
	}
}
